package ca.newcommerce.youtube.events
{
    import ca.newcommerce.youtube.data.*;
    import flash.events.*;

    public class ProfileEvent extends Event
    {
        protected var _profile:ProfileData;
        protected var _requestId:Number;
        public static const PROFILE_DATA_RECEIVED:String = "profile_data_received";

        public function ProfileEvent(param1:String, param2:Number, param3:ProfileData)
        {
            super(param1);
            this._requestId = param2;
            this._profile = param3;
            return;
        }// end function

        public function get requestId() : Number
        {
            return this._requestId;
        }// end function

        public function get profile() : ProfileData
        {
            return this._profile;
        }// end function

        override public function toString() : String
        {
            return "ca.newcommerce.youtube.events.ProfileEvent";
        }// end function

    }
}
